package com.ambulance.project.manager.domain;

import com.ambulance.framework.aspectj.lang.annotation.Excel;
import com.ambulance.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 车载设备管理对象 biz_carDevice
 *
 * @author zr
 * @date 2020-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="车载设备管理对象", description="车载设备管理}")
public class BizCardevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    @TableField(exist = false)
    private String lastDate;

    @TableField(exist = false)
    private String lastDates;


    @TableField(exist = false)
    private String lastDatee;


     // 设备终端标识
    @ApiModelProperty(value = "设备终端标识")
    private Long deviceID;



     // 设备名称
    @Excel(name = "设备名称")
    @ApiModelProperty(value = "设备名称")
    private String name;


     // 所属车辆标识
    @Excel(name = "所属车辆标识")
    @ApiModelProperty(value = "所属车辆标识")
    private Long carID;


     // 车牌号
    @Excel(name = "车牌号")
    @ApiModelProperty(value = "车牌号")
    private String carVin;


     // 厂家品牌
    @Excel(name = "厂家品牌")
    @ApiModelProperty(value = "厂家品牌")
    private String vender;


     // 设备类型
    @Excel(name = "设备类型")
    @ApiModelProperty(value = "设备类型 1心电仪，2呼吸机")
    private Integer type;


     // 设备型号
    @Excel(name = "设备型号")
    @ApiModelProperty(value = "设备型号")
    private String model;


     // 接口类型，0Wi-Fi，1其他
    @Excel(name = "接口类型，0Wi-Fi，1其他")
    @ApiModelProperty(value = "接口类型，0Wi-Fi，1其他")
    private String interfaceType;


     // 数据类型，0心电数据包，1其他
    @Excel(name = "数据类型，0心电数据包，1其他")
    @ApiModelProperty(value = "数据类型，0心电数据包，1其他")
    private String dataType;


     // 状态，0正常，1停用
    @Excel(name = "状态，0正常，1停用")
    @ApiModelProperty(value = "状态，0正常，1停用")
    private Integer status;


     // 最后传输时间
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "最后传输时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty(value = "最后传输时间")
    private Date lastTransferTime;


     // 数据回传时间
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "数据回传时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty(value = "数据回传时间")
    private Date dataReceiveTime;


     // 医院标识
    @Excel(name = "医院标识")
    @ApiModelProperty(value = "医院标识")
    private Long uid;


    // 医院标识
    @Excel(name = "设备序列号")
    @ApiModelProperty(value = "设备序列号")
    private String serial;

    @Excel(name = "图片")
    @ApiModelProperty(value = "图片")
    private String image;

    @TableField(exist = false)
    @ApiModelProperty(value = "调度流水")
    private String flow;

    @TableField(exist = false)
    @ApiModelProperty(value = "汇声回放地址")
    private String hsVideoUrl;

    @TableField(exist = false)
    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @TableField(exist = false)
    @ApiModelProperty(value = "结束时间")
    private String endTimes;

    @TableField(exist = false)
    @ApiModelProperty(value = "时间段")
    private String timeQuantum;

    @TableField(exist = false)
    @ApiModelProperty(value = "病历流水")
    private String caseFlow;

    @TableField(exist = false)
    @ApiModelProperty(value = "调度ID")
    private String dispatchID;


}
